/**
 * @RpcEndpoint.java  COPYRIGHT xiaojian
 * 
 * Created on 2017年1月13日 上午10:52:36
 */
package xj.toolkit.rpc.core;

import io.netty.handler.codec.http.FullHttpResponse;
import io.netty.handler.codec.http.HttpRequest;
import xj.toolkit.netty.transport.endpoint.HttpEndpoint;

/**
 * @author <a href="mailto:cxj2000@gmail.com">xiaojian.cao</a>
 *
 */
public class RpcEndpoint extends HttpEndpoint<Object> {

	@Override
	public byte[] makeHttpBody(Object requestBean, Object response) {
		return (byte[]) response;
	}

	@Override
	protected void beforeSend(HttpRequest httpRequest, FullHttpResponse response, Object responseBean) {
		
	}

}
